<?php  
 require_once "core/initialize.php";
 $user = new User();
if ($user->isLoggedIn()) { ?>
	<div id="main-nav">
		<ul>
			<li class="widgetButtonTheme"><i class="fa fa-lock"></i><a href="logout.php">Logout</a></li>
			<li class="widgetButtonTheme"><i class="fa fa-user"></i><a href="profile.php?user=<?php echo escape($user->data()->username); ?>">Edit Account</a></li>
			<li class="widgetButtonTheme"><i class="fa fa-comment-o"></i><a href="dashboard.php">Dashboard</a></li>
			<!-- <li class="widgetButtonTheme"><i class="fa fa-home"></i><a href="recipes.php">Recipes</a></li>	 -->		
		</ul>		
	</div>
<?php } ?>